package com.wind.cloud.gateway.client.fallback;

import com.wind.cloud.common.vo.ZuulRoute;
import com.wind.cloud.gateway.client.ZuulRouteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
@Slf4j
public class ZuulRouteServiceFallbackImpl implements ZuulRouteService {
    @Override
    public List<ZuulRoute> listAll() {
        log.error("调用{}异常","ZuulRouteService.listAll");
        return Collections.emptyList();
    }
}
